<template>
    <view class='message-container'>
        全局消息提示 {{text}}
    </view>
</template>
 
<script>
</script>
 
<style lang="scss" scoped>
    .message-container{
        position: fixed;
        top: 10%;
        z-index: 2000;
        left: 10%;
        width: 200px;
        height: 200px;
        background-color: red;
    }
</style>